// SafetyHandler.java
package com.smartfarm.chain;

public abstract class SafetyHandler {
    protected SafetyHandler next;

    public SafetyHandler setNext(SafetyHandler next) {
        this.next = next;
        return next;
    }

    public abstract void handleRequest(String request);
}
